package com.example.administrator.testdagger.mvp;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;

import com.example.administrator.testdagger.R;

import javax.inject.Inject;

/**
 * Created by Administrator on 2018/5/28.
 */

public class TestMvpAty extends AppCompatActivity{

    @Inject
    Presenter mPresenter;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        DaggerTestComponent.create().indect(this);
        Log.d("WJQT",mPresenter.getClass().getSimpleName() + " testView name is : "+mPresenter.mTestView);
    }
}
